package com.skillscompetition.skillscompetition.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.skillscompetition.skillscompetition.bean.GroupResults;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lwg
 * @since 2019-11-09
 */
public interface IGroupResultsService extends IService<GroupResults> {
    /**
     * 计算团体排名
     */
    void sort();

    /**
     * 团体排序列表
     *
     * @param page
     * @param pageSize
     * @return
     */
    PageInfo<GroupResults> groupRankingList(Integer page, Integer pageSize);
}
